/* 滚动条滑块 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: rgba(157, 165, 183, 0.1);
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border: transparent dashed 4px;
  background: rgba(157, 165, 183, 0.4);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(157, 165, 183, 0.7);
}

*,
*::before,
*::after {
  margin: 0;
  box-sizing: border-box;
  font-weight: normal;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  transition: color 0.5s, background-color 0.5s;
  line-height: 1.6;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 2px;
}

.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.flex-center {
  justify-content: center;
  align-items: center;
}
.flex-between {
  flex-wrap: nowrap;
  justify-content: space-between;
}
.flex-between-wrap {
  flex-wrap: wrap;
  justify-content: space-between;
}
.flex-fixed {
  flex: none !important;
}
.flex-auto-width {
  flex: auto !important;
  width: auto !important;
  min-width: 0;
}
.flex-auto-height {
  flex: auto !important;
  height: auto !important;
  min-height: 0;
}
.flex-align-left {
  display: flex;
  justify-content: flex-start;
}
.flex-align-right {
  display: flex;
  justify-content: flex-end;
}
.align-left {
  text-align: left;
}
.align-right {
  text-align: right;
}

[class*="btn-"] {
  cursor: pointer;
}
.btn-primary {
  color: #1890ff;
}

.btn-delete {
  color: #ffa800;
}
